package cn.webrx.chat;

import java.net.Socket;

public class Cli {
    public static void main(String[] args) {
        try {
            Socket s = new Socket("127.0.0.1", 6666);
            ScUtil su = new ScUtil(s);
            new Thread(su::send).start();
            new Thread(su::read).start();
        } catch (Exception e) {
            System.out.println(e.toString());
        }
    }
}
